﻿using MediatR;
using System;

namespace ShineTech.Web.Missons.Commands
{
    public class UpdateMissonCommand : IRequest<MissonDTO>
    {
       

        public UpdateMissonCommand(Guid id, string name,  Guid updatedUserId, string updatedUserName, DateTime updatedTime)
        {
            Id = id;
            Name = name ?? throw new ArgumentNullException(nameof(name));
            UpdatedUserId = updatedUserId;
            UpdatedUserName = updatedUserName ?? throw new ArgumentNullException(nameof(updatedUserName));
            UpdatedTime = updatedTime;
        }

        public Guid Id { get; set; }
        public string Name { get;  set; }

        public Guid UpdatedUserId { get;  set; }

        public string UpdatedUserName { get;  set; }

        public DateTime UpdatedTime { get;  set; }

       


       
    }

}
